// 停宿
import request from '@/router/axios'

//展示表格
export function stopHostObj(query) {
    return request({
        url: '/campus/stopdorm/StudentPage',
        method: 'get',
        params: query
    })
}

//停宿
export function EditStopHostObj(obj, startTime, stopTime, gateTimeId) {
    return request({
        url: '/campus/stopdorm',
        method: 'post',
        data: {
            studentId: obj.id,
            startTime: startTime,
            stopTime: stopTime,
            gateTimeId: gateTimeId,
        }
    })
}







